{"version":3,"sources":["script.js"],"names":["window","repo","fileObj","d","uri","BX","type","isNotEmptyString","this","id","url","name","substr","lastIndexOf","indexOf","ext","toLowerCase","ii","hasOwnProperty","prototype","getErrorText","text","message","diskController","manager","params","location","protocol","host","urlUpload","values","propertyName","catchUF","delegate","parseUF","prepareToSaveUF","prefixHTMLNode","userTypeId","uploadBase64","options","FileUploadOptions","ft","FileTransfer","good","proxy","response","parseJSON","bad","uploadBase64Response","uploadBase64Failure","fileKey","fileName","sessid","bitrix_sessid","mimeType","chunkedMode","upload","app","BasicAuth","success","auth_data","sessid_md5","failure","onCustomEvent","status","isArray","length","data","iconUrl","util","in_array","extension","previewImageUrl","fileId","xmlID","fieldName","fieldValue","UF","files","extraData","getId","tempId","Math","random","node","getAttribute","undefined","push","file","parseInt","replace","fileType","substitution","MobileUtils","getType","getFileMimeType","attachments","queue","forEach","f","split","pop","bind","add","f0","fileD","removeCustomEvent","f1","addCustomEvent","uploadQueue","controller","__queueId","__onUploadOk","start","__onUploadError","error","files1","clear","q","res","simpleForm","handler","getRandomString","placeholder","onEvent","handleAppCallback","onSend","handleAppData","repeat","isPlainObject","attachedFiles","comment","stopCheckWriting","handleAppFile","__this","BXMobileApp","UI","Page","TextPanel","getText","txt","e","writingParams","lastEvent","startCheckWriting","init","isNotEmptyObject","hideForm","MobileUI","TextField","setDefaultParams","show","isString","setText","focus","BXMPage","lastFired","frequency","~text","time","Date","showWait","showLoading","closeWait","extendedForm","formSettings","attachButton","items","initFiles","attachFileSettings","resize","sendLocalFileMethod","saveToPhotoAlbum","mentionButton","dataSource","return_full_mode","outsection","okname","cancelname","multiple","alphabet_index","smileButton","okButton","callback","applyExtendedForm","cancelButton","cancelExtendedForm","controllers","cid","buttons","button","searchField","showtitle","modal","textArea","document","createElement","innerHTML","value","remove","exec","MPF","enableInVersion","errors","destroy","form","forumContext","hide","body","appendChild","elements","create","props","block","className","currentForm","uniqueId","initEvents","initControllers","error00","error01","submitExtended","writing","cancel","bound","setForm","extended","isBoolean","edit","submitBase64","base64","result","filesToPost","submit","jj","attachmentsData","uploadTasks","taskIdList","processAttachments","then","commentNodeId","commentVirtualId","formId","formUniqueId","entityId","addComment","commentData","addError","errorText","getForm","ajax","prepareForm","promise","Promise","resolve","reject","taskId","fileData","i","match","folderId","getUploadFilename","previewUrl","getResizeOptions","filter","catch","console","createInstance","getInstance","onUploadQueueReady","formInstance","onUploadQueueError"],"mappings":"CAAC,WACA,IAAKA,OAAO,OAASA,OAAO,MAAM,SAAWA,OAAO,OACnD,OACD,IAAIC,KACHC,EAAU,WACT,IAAIC,EAAI,SAASC,GAChB,GAAIC,GAAGC,KAAKC,iBAAiBH,GAC7B,CACCI,KAAKC,GAAKL,EACVI,KAAKE,IAAMN,EACXI,KAAKG,KAAOP,EAAIQ,OAAOR,EAAIS,YAAY,KAAO,GAC9C,GAAIL,KAAKG,KAAKG,QAAQ,MAAQ,EAC7BN,KAAKG,KAAOH,KAAKG,KAAKC,OAAO,EAAGJ,KAAKG,KAAKG,QAAQ,MACnDN,KAAKO,IAAOP,KAAKG,KAAKE,YAAY,KAAO,EAAIL,KAAKG,KAAKC,OAAOJ,KAAKG,KAAKE,YAAY,KAAO,GAAGG,cAAgB,OAG/G,CACC,IAAK,IAAIC,KAAMb,EACf,CACC,GAAIA,EAAIc,eAAeD,GACvB,CACCT,KAAKS,GAAMb,EAAIa,OAKnBd,EAAEgB,WACDC,aAAe,SAASC,GACvB,OAAQA,GAAQhB,GAAGiB,QAAQ,2BAG7B,OAAOnB,EA3BE,GA6BVoB,EAAiB,WAChB,IAAIpB,EAAI,SAASqB,EAASf,EAAIgB,GAC7BjB,KAAKC,GAAKA,EACVD,KAAKE,IAAMV,OAAO0B,SAASC,SAAW,KAAO3B,OAAO0B,SAASE,KAAOpB,KAAKqB,UACzErB,KAAKsB,UACLtB,KAAKiB,OAASA,EAEdjB,KAAKuB,aAAevB,KAAKiB,OAAO,cAEhCjB,KAAKwB,QAAU3B,GAAG4B,SAASzB,KAAKw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